package com.flower.response;

import java.io.Serializable;

/**
 * 响应数据封装接口
 * 
 */
public class Result<T> implements Serializable{
	private static final long serialVersionUID = 5334354423432009056L;
	/**成功*/
	public static final String SUCCESS = "success";
	/**失败*/
	public static final String ERROR = "error";
	/**登录页面标记*/
	public static final String LOGIN_JUMP = "login";
	/**首页标记*/
	public static final String INDEX_JUMP = "index";
	/**用户页面标记*/
	public static final String USER_JUMP = "user";
	/**订单页面标记*/
	public static final String ORDER_JUMP = "order";
	/**404页面*/
	public static final String NOT_FOUND = "404";
	private String status;//error/success
	private String message;//弹窗提示
	private String jump;
	private T result;//业务数据
	private String target;
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getJump() {
		return jump;
	}

	public void setJump(String jump) {
		this.jump = jump;
	}

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	
}
